package org.mspring.mlog.entity;

import org.mspring.nbee.orm.annotation.Col;
import org.mspring.nbee.orm.annotation.Id;
import org.mspring.nbee.orm.annotation.Mappable;
import org.mspring.nbee.orm.entity.BaseEntity;

import java.util.Date;

/**
*
* @author Gao Youbo
* @since 2015-01-24 13:10:48
*/
@Mappable
public class Link extends BaseEntity {

@Id
    @Col(length = 19)
private Long id;
@Col(nullable = false, length = 32)
private String name;
@Col(nullable = false, length = 1024)
private String url;
@Col(length = 1024)
private String description;
@Col(nullable = false, length = 19)
private Date createTime;
@Col(nullable = false, length = 19)
private long createUser;
@Col(nullable = false, length = 32)
private String createUserName;
@Col(nullable = false, length = 19)
private Date updateTime;
@Col(nullable = false, length = 19)
private long updateUser;
@Col(nullable = false, length = 32)
private String updateUserName;

public Long getId() {
return this.id;
}

public void setId(Long id) {
this.id = id;
}

public String getName() {
return this.name;
}

public void setName(String name) {
this.name = name;
}

public String getUrl() {
return this.url;
}

public void setUrl(String url) {
this.url = url;
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
}

public Date getCreateTime() {
return this.createTime;
}

public void setCreateTime(Date createTime) {
this.createTime = createTime;
}

public long getCreateUser() {
return this.createUser;
}

public void setCreateUser(long createUser) {
this.createUser = createUser;
}

public String getCreateUserName() {
return this.createUserName;
}

public void setCreateUserName(String createUserName) {
this.createUserName = createUserName;
}

public Date getUpdateTime() {
return this.updateTime;
}

public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}

public long getUpdateUser() {
return this.updateUser;
}

public void setUpdateUser(long updateUser) {
this.updateUser = updateUser;
}

public String getUpdateUserName() {
return this.updateUserName;
}

public void setUpdateUserName(String updateUserName) {
this.updateUserName = updateUserName;
}

}
